<h1>TA Application - <%=h @user.ta_position %> position <%=h  @user.ta_semester %></h1>
<p>THIS APPLICATION IS CURRENTLY FILLED WITH TEST DATA</p>
<p>Note: * indicates a <b>required</b> field.</p>

<% form_for(@user, :url=>{:action=>'submit_app'}) do |f| %>

	<%=h f.error_messages :header_message => "Please Try Again!", :message => "We had some problems submitting your application:" %>
	<%=h f.hidden_field :user_type %>
	<%=h f.hidden_field :ta_position %>
	<%=h f.hidden_field :ta_semester %>
	
	
	<div style='width: 50em'>

	<fieldset>
	<legend><h3>Personal Information</h3></legend>
	<p><b>Last Name: </b>	<%=h f.text_field :last_name, :size => 30 %>*
	<b>First Name: </b>		<%=h f.text_field :first_name, :size => 20 %>*
	<b>Middle Initial: </b>	<%=h f.text_field :middle_initial, :size => 2 %></p>

	<p>
	<b>University ID: </b>		<%=h f.text_field :univ_id, :size => 10 %>*
	<b>University Email: </b>	<%=h f.text_field :email %>* ex: example@not.real
	</p>
	
	<p>
	<b>Password: </b>			<%=h f.password_field :password, :size => 15 %>
	<b>NOTE: </b> This password field is for testing purposes only and is NOT secure. (default is "test")
	</p>

	<p>
	<b>Permanent Phone: </b>	<%=h f.text_field :perm_phone, :size => 15 %>
	<b>Campus Phone: </b>		<%=h f.text_field :campus_phone, :size => 15 %>* ex: 123-456-7890
	</p>

	<p><b>Permanent Address: </b>	<%=h f.text_field :perm_address, :size => 70 %>*</p>

	<p>
	<b>City: </b>				<%=h f.text_field :perm_city, :size => 20 %>*
	<b>State: </b>				<%=h f.text_field :perm_state, :size => 2 %>*
	<b>Zip Code: </b>			<%=h f.text_field :perm_zip, :size => 10 %>*
	</p>

	<!-- <hr /> -->
	</fieldset>

	<fieldset>
	<legend><h3>TA Information</h3></legend>
	<p>
	<b>What type of applicant are you: </b>
	<%=h f.radio_button :ta_app_type, 'PhD' %>
	<%=h label :ta_app_type_PhD, 'PhD' %>
	<%=h f.radio_button :ta_app_type, 'MS' %>
	<%=h label :ta_app_type_MS, 'MS' %>*
	</p>

	<p>
	<b>Current Major: </b>		<%=h f.text_field :ta_curr_major %>*
	<b>Entry Semester: </b>		<%=h f.select :ta_entry_semester, '<option>Fall</option><option>Spring</option><option>Summer (1)</option><option>Summer (2)</option>' %>
	<b>Entry Year: </b>			<%=h f.text_field :ta_entry_year, :size => 5 %>*
	</p>

	<div>
	<b>Are you currently a TA? </b>
		<%=h f.radio_button :currently_ta, 'true' %>
		<%=h label :currently_ta_true, 'Yes' %>
		<%=h f.radio_button :currently_ta, 'false' %>
		<%=h label :currently_ta_false, 'No' %>*
		<br />

		<div style='float:left; padding-left:20px'>
		<b>If you are currently a TA: </b>
			<div style='padding-left:10px'>
				<b>Course:</b>				<%=h f.text_field :ta_curr_course, :size => 10 %> ex: cmsc0132 <br />
				<b>Course Instructor:</b>	<%=h f.text_field :ta_curr_instructor, :size => 25 %>
			</div>
		</div>
	</div>
	<br style='clear:both'>

	<div style='float:left'><br />
	<b>Previous TA experience </b>(more recent first): ex: cmsc0132
		<div style='float:left; padding-left:20px'>
		<b>Course 1: </b><%=h f.text_field :ta_experience_1, :size => 10 %><br />
		<b>Course 2: </b><%=h f.text_field :ta_experience_2, :size => 10 %><br />
		<b>Course 3: </b><%=h f.text_field :ta_experience_3, :size => 10 %><br />
		<b>Course 4: </b><%=h f.text_field :ta_experience_4, :size => 10 %><br />
		<b>Course 5: </b><%=h f.text_field :ta_experience_5, :size => 10 %>
		</div>
	</div>
 <br style='clear:both'>

	<div style='float:left'><br />
		<b>NON US STUDENTS: </b>
	</div>
	<br style='clear:both'>

		<div style='float:left; padding-left:20px'>
			Have you passed the Maryland English Institute (MEI) Evaluation?<br>
			Currently taking a UMEI course?<br>
			Have you received your MS Degree?
		</div>

		<div style='float:left; padding-left:20px'>
			<%=h f.radio_button :ta_pass_mei, 'true' %>
			<%=h label :ta_pass_mei_true, 'Yes' %>
			<%=h f.radio_button :ta_pass_mei, 'false' %>
			<%=h label :ta_pass_mei_false, 'No' %>
			<br />

			<%=h f.radio_button :ta_curr_umei, 'true' %>
			<%=h label :ta_curr_umei_true, 'Yes' %>
			<%=h f.radio_button :ta_curr_umei, 'false' %>
			<%=h label :ta_curr_umei_false, 'No' %>
			<br />

			<%=h f.radio_button :ta_ms_degree, 'true' %>
			<%=h label :ta_ms_degree_true, 'Yes' %>
			<%=h f.radio_button :ta_ms_degree, 'false' %>
			<%=h label :ta_ms_degree_false, 'No' %>
			<br />
		</div

	<br style='clear:both'>

	<div style='float:left'>
	<br />
	<b>List your prefered CMSC course number to TA: </b>
		<div style='float:left; padding-left:20px'>
		<b>First Choice: </b>	CMSC<%=h f.text_field :ta_course_request_1, :size => 5 %>
		<b>Second Choice: </b>	CMSC<%=h f.text_field :ta_course_request_2, :size => 5 %>
		<b>Third Choice: </b>	CMSC<%=h f.text_field :ta_course_request_3, :size => 5 %>
		</div>
	</div>
	<br style='clear:both'>

	<div style='width:100%; border:1px solid #000000; padding:3px; text-align:center; margin-top:15px'>
		<i>If you have any special circumstances we should be aware of, please indicate below.
		If there is any possibility of receiving a Graduate Research Assistant Position, please indicate name of faculty sponsor.</i>
		<div style='margin-left:auto; margin-right:auto; text-align:center'>
			<%=h f.text_area :ta_additional_info, :cols => 80, :rows => 3 %>
		</div>
	</div>
	<br style='clear:both'>

	<div>
		<b>Signature: </b>(Full Name) <%=h f.text_field :ta_signature, :size => 30 %>*
		<span style='padding-left:20px'> <%= f.submit "Submit Application" %> </span>
	</div>
	<br style='clear:both'>
	</fieldset>

	</div>

<% end %>